跳到主要内容

Share a file

PUT 

/api/2.0/files/file/:fileId/share

Sets the sharing settings to a file with the ID specified in the request.

Note: Each of the sharing parameters must contain two values: "ShareTo" - ID of the user with whom we want to share a file, "Access" - access type which we want to give to the user (Read, ReadWrite, etc).

Request

Responses

Shared file information